package com.touchfired.server;

import com.touchfired.common.core.publisher.BasePublisher;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 服务启动类
 *
 * @author 幸佳俊
 */
@ComponentScan(basePackages = {"com.touchfired"})
@SpringBootApplication
public class ServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerApplication.class, args);
        BasePublisher.initListeners();
    }
}
